package com.hskn.hss.module.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.poi.ss.formula.functions.T;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-04-30
 */
public interface ICommonService extends IService<T> {


    /**
     * 获取表名注释
     * @param tableName
     * @return
     */
    String getTableComment(String tableName);

    /**
     * 获取字段名注释
     * @param tableName
     * @param columnName
     * @return
     */
    String getColumnComment(String tableName, String columnName);

    /**
     * 获取字段默认值
     * @param tableName
     * @param columnName
     * @return
     */
    String getColumnDefaultValue(String tableName, String columnName);

}
